package com.ticket.sass.provider.dto.input.admin;


import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotBlank;

/**
 * 登录DTO
 * @author ywb
 * @date 2021-10-19 11:54
 */
@Data
@ApiModel(value = "登陆校验DTO", description = "按照要求填写")
public class AdminLoginInput {
    @NotBlank(message = "登录账号不能为空")
    @ApiModelProperty(value = "登录账号", required = true)
    private String username;
    
    @NotBlank(message = "登录密码不能为空")
    @ApiModelProperty(value = "登录密码", required = true)
    private String password;
    
    @ApiModelProperty(value = "角色", required = true)
    private Integer roleId;
}